NinePatch.fromQuads

Creates a NinePatch from the matrix, starting from left to right, top to bottom

Parameters

rects AtlasRect[9]

The rects that defines the sprite regions

tex IHipTexture

The texture being used as a reference to the regions

width int

The width of the resulting nine patch

height int

The height of the resulting nine patch

t NinePatchType

The scaling type

Return Value

Type: NinePatch

Meta